package com.jpc.kotlinnoteapplication.logic.model

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity
data class Note(
    @PrimaryKey val id: Int? = null,
    val title: String,
    @ColumnInfo(name = "sub_title")val subTitle: String,
    @ColumnInfo(name = "date_time")val dateTime: String,
    val content: String,
    @ColumnInfo(name = "image_url")val imageUrl: String,
    @ColumnInfo(name = "web_link")val webLink: String,
    val color: String
)